package com.xianbeiying.app.ckgl.bean;

/**
 * Created by yangjie on 16/10/13.
 */
public class UpdateBean {

    /**
     * K : UPGRADE_VERSION
     * V : {"VERSION":{"id":1,"versionName":"APP","versionCode":"1.0","versionUrl":"/notice/techsupport"}}
     * R : true
     * ERR_MSG :
     */

    private String K;
    /**
     * VERSION : {"id":1,"versionName":"APP","versionCode":"1.0","versionUrl":"/notice/techsupport"}
     */

    private VBean V;
    private boolean R;
    private String ERR_MSG;

    public String getK() {
        return K;
    }

    public void setK(String K) {
        this.K = K;
    }

    public VBean getV() {
        return V;
    }

    public void setV(VBean V) {
        this.V = V;
    }

    public boolean isR() {
        return R;
    }

    public void setR(boolean R) {
        this.R = R;
    }

    public String getERR_MSG() {
        return ERR_MSG;
    }

    public void setERR_MSG(String ERR_MSG) {
        this.ERR_MSG = ERR_MSG;
    }

    public static class VBean {
        /**
         * id : 1
         * versionName : APP
         * versionCode : 1.0
         * versionUrl : /notice/techsupport
         */

        private VERSIONBean VERSION;

        public VERSIONBean getVERSION() {
            return VERSION;
        }

        public void setVERSION(VERSIONBean VERSION) {
            this.VERSION = VERSION;
        }

        public static class VERSIONBean {
            private int id;
            private String versionName;
            private String versionCode;
            private String versionUrl;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getVersionName() {
                return versionName;
            }

            public void setVersionName(String versionName) {
                this.versionName = versionName;
            }

            public String getVersionCode() {
                return versionCode;
            }

            public void setVersionCode(String versionCode) {
                this.versionCode = versionCode;
            }

            public String getVersionUrl() {
                return versionUrl;
            }

            public void setVersionUrl(String versionUrl) {
                this.versionUrl = versionUrl;
            }
        }
    }
}
